﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SAchievementType extends Object
    {
        public var category:int;
        public var type:int;
        public var status:int;
        public var curAchievements:Array;

        public function SAchievementType()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.category);
            param1.writeInt(this.type);
            param1.writeInt(this.status);
            SeqAchievementHelper.write(param1, this.curAchievements);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.category = param1.readInt();
            this.type = param1.readInt();
            this.status = param1.readInt();
            this.curAchievements = SeqAchievementHelper.read(param1);
            return;
        }// end function

    }
}
